Ext.define('demo.view.Viewport', {
    extend: 'Ext.container.Viewport',
    layout: 'border',
    items: [{
        collapisble: true,
        region:'north',
        height: 120,
		bodyStyle:'background-image: url(resource/denglu.png);background-repeat: no-repeat;background-position 100 0;',
		items:[
			{
				buttons:[
				{
					text:'关于我们'
				},{
					text:'退出系统'
				}
			  ]
			}
		]
    },{
        title: '功能菜单',
        region: 'west',
        width: 180,
        split: true,
        collapisble: true,
        items:[{
        	xtype:'menutree'
        }]
    }, {
    	xtype:'tabpanel',
        id: 'mainContent',
        layout: 'fit',
        region: 'center',
        collapisble: true,
        items:[
        	{
        		title:'首页',
        		bodyStyle:'background-image: url(resource/denglu.png);background-repeat: no-repeat;',
        		closable:true,
				
        	}
        ]
    },{
        region: 'south',
       	border:false,
       	height:30,
       	tbar:['当前登录用户[admin]','->','开发者团队：[菜鸟组]']
    }]
});